﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WriteLog
{
    public class Message : BaseLogMessage
    {
        public Message(string message)
            : this("NoApplicationName", 0, "无", message)
        {
        }

        public Message(string provider, int eventID, string taskName, string messageBody)
        {
            this.Provider = provider;
            this.EventID = eventID;
            this.TaskName = taskName;
            this.MessageBody = messageBody;
        }

        public override LogLevel Level
        {
            get
            {
                return LogLevel.Message;
            }
        }
    }
}
